# 测试Python自带的函数
array = map(abs, [-1, -2, 3, 4, -5, 6, 7, 8, 9, 7, 4, 5, 1, 3, 5])
filter_array = filter(lambda a: a % 2 == 1, [-1, -2, 3, 4, -5, 6, 7, 8, 9, 7, 4, 5, 1, 3, 5])
for item in array:
    print(item)

for item in filter_array:
    print(item)
